how to prevent buildup on scalp